package baseFx.tests.common.encryption;

import baseFx.common.encryption.Decrypt;
import baseFx.common.encryption.Encrypt;

import java.util.UUID;

public class DecryptTests {
    public static void main(String[] args) {
        des();
    }

    private static void des() {
        String pwd = "12345678";
        String content = UUID.randomUUID().toString();
        for (int i = 0; i < 10; i++) {
            content += UUID.randomUUID().toString();
        }

        System.out.println(content);
        String jiami = Encrypt.des(content, pwd);
        System.out.println(jiami);
        String jiemi = Decrypt.des(jiami, pwd);
        System.out.println(jiemi);
    }
}
